package com.example.homeworkrabbitmq.repository;

import com.example.homeworkrabbitmq.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRepository extends JpaRepository<User,Integer> {

    public User findUserByUsername(String username);
}
